package com.zygh.policeasset.service;

import com.zygh.policeasset.mapper.ProjectNoMapper;
import com.zygh.policeasset.pojo.ProjectNo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProjectNoService {

    @Autowired
    ProjectNoMapper projectNoMapper;

    public ProjectNo findByType(String type,String year){
        return projectNoMapper.findByType(type, year);
    }

    public Integer update(String type,String year){
        return projectNoMapper.update(type, year);
    }
}
